<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>

<link href="../shared_sp08/styles.css" type=text/css rel=stylesheet>
<link href="../shared_sp08/page_layout.css" type=text/css rel=stylesheet>

<!-- the order of these matters -->

<script src="scripts/mapblog_globals.js" type="text/javascript"></script>
<script>
var args = getArgs();
if (args.sec) {
	g_section = args.sec;
	g_category = args.category;
}
var head = document.getElementsByTagName("head")[0];
script = document.createElement('script');
script.id = 'getpph';
script.type = 'text/javascript';
script.src = "../shared_sp08/mapblog_data2.php?sec=" + g_section + "&category=" + g_category + "&cid=" + g_courseid;
head.appendChild(script);


////////////////////////////////////////////////////////////////////////////////////
function makeDataTable() {
	var dataArrayLen = markers.length;
	for(i=0; i<dataArrayLen; i++) {	
		tableStr = "<table>";
		tableStr = tableStr + "<tr><td>" + markers[i].userid + "</td></tr>";
		tableStr = tableStr + "</table>";
		
		pageElement = document.getElementById('map');
		pageElement.innerHTML = tableStr;
	/*
	addMarker(markers[i].latitude, markers[i].longitude, markers[i].name, markers[i].url, markers[i].userid, markers[i].add_date, markers[i].category);
		writeLog(markers[i].latitude);
	*/
	}

	
}

	
</script>
<!--
<script src="../shared_sp08/map_functions.js" type="text/javascript"></script>
<script src="../shared_sp08/mapblog.js" type="text/javascript"></script>
<script src="../shared_sp08/makerect.js" type="text/javascript"></script>
<script src="../shared_sp08/tooltip.js" type="text/javascript"></script>
-->
</head>

<body class="sidebar-right" onunload="GUnload()">
	<div id="toolbar">
	<table width="100%" border="0">
	<tr >
		<td valign="top" width="129px"><img src="../shared_sp08/images/esc_logo.gif" alt="ESC Logo" width="129" height="90" border="0"/></td>
	  <td valign="middle" width="800px"><span class="legend">MapBlog for&nbsp;<script>document.write(g_course_title);</script></span><br />
		  <span class="sidebar_instructions">This utility allows you (the instructor) to see a list of the locations each student in your class has added to the MapBlog.</span></td>
		<td align="right" width="200px" valign="bottom">	
			<ul id="options">
				<li class="list_menu_current"></li>
			</ul>		</td>
	</tr>
	</table>
	</div>
	
	<div id="content">
		<div id="map-wrapper">
		</div>

		<div id="sidebar">
		<iframe id="sidebar_frame" class="sidebar_instructions" 
			style="position:relative;left:5px;" 
			frameborder="0"
			scrolling="auto"
			src="../shared_sp08/sidebar_starter.html">
		</iframe>
		</div>
	</content>
</body>

</html>